﻿using System;
using System.Collections.Generic;
using System.Text;

namespace KeePassLib
{
    public class AdministratorUser : User
    {

        public override bool HasWriteRights(PwGroup group)
        {
            return true;
        }

        public override bool HasReadRights(PwGroup group)
        {
            return true;
        }

        public override bool HasChildNodeWithReadRights(PwGroup group)
        {
            return true;
        }

        public override bool HasChildNodeWithWriteRights(PwGroup proup)
        {
            return true;
        }
        public override bool Equals(object obj)
        {
            if (obj is AdministratorUser)
                return true;            
            return base.Equals(obj);
        }
    }
}
